package thread.lock;

/**
 * @program: baseModule
 * @description:
 * @author: zhanghz001
 * @create: 2020-10-25 18:02
 **/
public class Demo {
    public static void main(String[] args) {
        TicketRunnable tr = new TicketRunnable();
        //
        Thread t = new Thread(tr, " 111");
        Thread t2 = new Thread(tr, " 222");
        //
        t.start();
        t2.start();
    }
}
